package com.zhongli.devplatform.po.common;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author  WuXiCheng
 * @date  2020/7/23 10:12
 * @version 1.0
 */
@ApiModel(value="com-zhongli-devplatform-po-ReadCommitOperation")
@Data
@TableName(value = "read_commit_operation")
public class ReadCommitOperationPO {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="主键")
    private Integer id;

    /**
     * 学生id
     */
    @TableField(value = "student_id")
    @ApiModelProperty(value="学生id")
    private Integer studentId;

    /**
     * 作业id
     */
    @TableField(value = "operation_id")
    @ApiModelProperty(value="作业id")
    private Integer operationId;

    /**
     * 答案
     */
    @TableField(value = "answer")
    @ApiModelProperty(value="答案")
    private String answer;

    /**
     * 详情描述
     *
     *
     */
    @TableField(value = "description")
    @ApiModelProperty(value="详情描述")
    private String description;

    /**
     * 是否已批改
     */
    @TableField(value = "status")
    @ApiModelProperty(value="是否已批改")
    private Boolean status;

    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value="")
    private Date createTime;

    @TableField(value = "create_user_id",fill = FieldFill.INSERT)
    @ApiModelProperty(value="")
    private Integer createUserId;

    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    @ApiModelProperty(value="")
    private Date updateTime;

    @TableField(value = "update_user_id",fill = FieldFill.UPDATE)
    @ApiModelProperty(value="")
    private Integer updateUserId;

    /**
     * 评语
     */
    @TableField(value = "comment")
    private String comment;

}
